//
//  Product.h
//  Castlery
//
//  Created by xie weizhi on 8/8/17.
//  Copyright © 2017 xie weizhi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Product : NSObject

@property (nonatomic, copy) NSString *productID;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *productDescription;
@property (nonatomic, copy) NSString *price;   ///< Price with an unit. eg: 1499 AUD.
@property (nonatomic, copy) NSString *availableSince; ///< Date string. (Already converted to local date)
@property (nonatomic, copy) NSArray <NSString *> *imagePaths;  ///< Image paths.


///< Helper method return the first image 
- (NSURL *)firstImageURL;

- (NSArray <NSURL *> *)imageURLs;

@end
